home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ccccffffssssaaaaddddmmmmiiiinnnn((((1111MMMM)))) ccccffffssssaaaaddddmmmmiiiinnnn((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- cfsadmin - administer disk space used for caching file systems with the
- Cache File-System (CacheFS)
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ccccffffssssaaaaddddmmmmiiiinnnn ----cccc [ ----oooo _c_a_c_h_e_F_S-_p_a_r_a_m_e_t_e_r_s ] _c_a_c_h_e__d_i_r_e_c_t_o_r_y
- ccccffffssssaaaaddddmmmmiiiinnnn ----dddd [ _c_a_c_h_e__I_D| aaaallllllll ] _c_a_c_h_e__d_i_r_e_c_t_o_r_y
- ccccffffssssaaaaddddmmmmiiiinnnn ----llll _c_a_c_h_e__d_i_r_e_c_t_o_r_y
- ccccffffssssaaaaddddmmmmiiiinnnn ----uuuu [ ----oooo _c_a_c_h_e_F_S-_p_a_r_a_m_e_t_e_r_s ] _c_a_c_h_e__d_i_r_e_c_t_o_r_y
- ccccffffssssaaaaddddmmmmiiiinnnn ----CCCC _c_a_c_h_e__d_i_r_e_c_t_o_r_y
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The ccccffffssssaaaaddddmmmmiiiinnnn command provides administrative tools for managing cached
- file systems. Its functions fall into four general categories:
-
- +o cache creation
-
- +o deletion of cached file systems
-
- +o listing of cache contents and statistics
-
- +o resource parameter adjustment when the file system is unmounted.
-
- For each form of the command, you must specify a cache directory, that
- is, the directory under which the cache is actually stored. A path name
- in the front file system identifies the cache directory.
-
- You can specify a cache ID when you mount a file system with CacheFS, or
- you can let the system generate one for you. The ----llll option includes the
- cache ID in its listing of information. You must know the cache ID to
- delete a cached file system.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----cccc Create a cache under the directory specified by
- _c_a_c_h_e__d_i_r_e_c_t_o_r_y. This directory must not exist prior to
- cache creation.
-
- ----dddd Remove the file system whose cache ID you specify and
- release its resources, or remove all file systems in the
- cache by specifying aaaallllllll. It is not necessary that a cache
- be removed by using ccccffffssssaaaaddddmmmmiiiinnnn. The cache can simply be
- removed by using rrrrmmmm(1).
-
- ----llll List file systems stored in the specified cache, as well
- as statistics about them. Each cached file system is
- listed by cache ID. The statistics document cache resource
- parameters. The block allocation limits are given as
- percentages and in 512-byte block units. Cache
- utilization may be accurately reported with dddduuuu(1M).
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ccccffffssssaaaaddddmmmmiiiinnnn((((1111MMMM)))) ccccffffssssaaaaddddmmmmiiiinnnn((((1111MMMM))))
-
-
-
- ----uuuu Update resource parameters of the specified cache
- directory. Parameter values can only be increased. To
- decrease the values, you must remove the cache and
- recreate it. All file systems in the cache directory must
- be unmounted when you use this option. Changes will take
- effect the next time you mount any file system in the
- specified cache directory. The ----uuuu option with no ----oooo
- option sets all parameters to their default values.
-
- ----CCCC Convert an existing cache to the new format. This
- consists of converting the cache IDs from their old form
- to the new form.
-
- CCCCaaaacccchhhheeeeFFFFSSSS RRRReeeessssoooouuuurrrrcccceeee PPPPaaaarrrraaaammmmeeeetttteeeerrrrssss
- You can specify the following cacheFS resource parameters as arguments to
- the ----oooo option. Separate multiple parameters with commas.
-
- mmmmaaaaxxxxbbbblllloooocccckkkkssss====_n Maximum amount of storage space that CacheFS can use,
- expressed as a percentage of the total number of blocks in
- the front file system. If CacheFS does not have exclusive
- use of the front file system, there is no guarantee that
- all the space the mmmmaaaaxxxxbbbblllloooocccckkkkssss parameter allows will be
- available. The default is 99990000.
- This value defines an upper bound on the space available
- to cachefs. Once the utilization of the front file system
- (cachefs and non-cachefs) reaches this value, cachefs will
- no longer allocate space for the caching of files.
-
- hhhhiiiibbbblllloooocccckkkkssss====_n This sets the high water mark for disk space usage. The
- value _n is expressed as a percentage of the total number
- of blocks in the front front file system. When the
- utilization of the front file system as a whole (cachefs
- and non-cachefs) reaches the high water mark, cachefs will
- begin removing cached files. Enough files will be removed
- to bring the front file system usage down to the low water
- mark. The default high water mark is 88885555.
-
- lllloooowwwwbbbblllloooocccckkkkssss====_n This sets the low water mark for disk space usage. The
- value _n is expressed as a percentage of the total number
- of blocks in the front front file system. This value is
- used for cache replacement as described above for
- hhhhiiiibbbblllloooocccckkkkssss. The default low water mark is 77775555.
-
- mmmmaaaaxxxxffffiiiilllleeeessss====_n Maximum number of files that CacheFS can use, expressed as
- a percentage of the total number of inodes in the front
- file system. If CacheFS does not have exclusive use of
- the front file system, there is no guarantee that all the
- inodes the mmmmaaaaxxxxffffiiiilllleeeessss parameter allows will be available.
- The default is 99990000.
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ccccffffssssaaaaddddmmmmiiiinnnn((((1111MMMM)))) ccccffffssssaaaaddddmmmmiiiinnnn((((1111MMMM))))
-
-
-
- hhhhiiiiffffiiiilllleeeessss====_n This sets the high water mark for file allocation. The
- value _n is expressed as a percentage of the total number
- of blocks in the front front file system. When the high
- water mark is reached, cachefs will begin removing cached
- files. Enough files will be removed to bring the front
- file system usage down to the low water mark. The default
- high water mark is 88885555.
-
- lllloooowwwwffffiiiilllleeeessss====_n This sets the low water mark for file allocation. The
- value _n is expressed as a percentage of the total number
- of blocks in the front front file system. This value is
- used for cache replacement as described above for hhhhiiiiffffiiiilllleeeessss.
- The default low water mark is 77775555.
-
- The cache parameters may only be changed for unmounted caches. The
- values, however, may be adjusted in any direction.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- The following example creates a cache directory named ////ccccaaaacccchhhheeee:
- eeeexxxxaaaammmmpppplllleeee%%%% ccccffffssssaaaaddddmmmmiiiinnnn ----cccc ////ccccaaaacccchhhheeee
-
- The following example creates a cache named ////ccccaaaacccchhhheeee1111 that can claim a
- maximum of 60 percent of the blocks in the front file system, can use 50
- percent of the front file system blocks without interference by CacheFS
- internal control mechanisms (i.e., replacement). Once this allocation
- level has been reached, cachefs will remove cached files until the low
- water value of 40 percent is reached.
-
- eeeexxxxaaaammmmpppplllleeee%%%% ccccffffssssaaaaddddmmmmiiiinnnn ----cccc ----oooo mmmmaaaaxxxxbbbblllloooocccckkkkssss====66660000,,,,lllloooowwwwbbbblllloooocccckkkkssss====44440000,,,,
- hhhhiiiibbbblllloooocccckkkkssss====55550000 ////ccccaaaacccchhhheeee1111
-
- The following example lists the contents of a cache directory named
- ////ccccaaaacccchhhheeee3333 and provides statistics about resource utilization:
-
- eeeexxxxaaaammmmpppplllleeee%%%% ccccffffssssaaaaddddmmmmiiiinnnn ----llll ////ccccaaaacccchhhheeee3333
-
- The following example removes the cached file system with cache ID 22223333
- from the cache directory ////ccccaaaacccchhhheeee3333 and frees its resources (the cache ID is
- part of the information returned by ccccffffssssaaaaddddmmmmiiiinnnn ----llll):
-
- eeeexxxxaaaammmmpppplllleeee%%%% ccccffffssssaaaaddddmmmmiiiinnnn ----dddd 22223333 ////ccccaaaacccchhhheeee3333
-
- The following example removes all cached file systems from the cache
- directory ////ccccaaaacccchhhheeee3333:
-
- eeeexxxxaaaammmmpppplllleeee%%%% ccccffffssssaaaaddddmmmmiiiinnnn ----dddd aaaallllllll ////ccccaaaacccchhhheeee3333
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- mmmmoooouuuunnnntttt(1M), ffffssssttttaaaabbbb(4), rrrrmmmm(4), dddduuuu(1M)
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-